package com.mayikt.auth.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mayikt.auth.mapper.entity.AccessTokenRecord;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

/**
 *
 * @author zhangxun
 * @since 2020-05-31
 */
@Component
public interface AccessTokenRecordMapper extends BaseMapper<AccessTokenRecord> {

    int updateAvailableByAppId(@Param("available") Integer available,@Param("appId") String appId);
}
